<!DOCTYPE html>
<html lang="zh-cmn-Hans">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
        <meta name="description" content="">
        <meta name="author" content="ThemeBucket">
        <link rel="shortcut icon" href="#" type="image/png">

        <title>Dynamic Table</title>

        <!--引入动态CSS-->
        <foreach name="header.css" item="css" >
        <link href="__PUBLIC__/csf/{$theme}/{$css}" rel="stylesheet">
        </foreach>

        <!--引入公用CSS-->
        <link href="__PUBLIC__/csf/{$theme}/css/style.css" rel="stylesheet">
        <link href="__PUBLIC__/csf/{$theme}/css/style-responsive.css" rel="stylesheet">
        <link href="__PUBLIC__/csf/{$theme}/css/jquery-ui-1.8.16.custom.css" rel="stylesheet">

        <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
        <!--[if lt IE 9]>
        <script src="__PUBLIC__/csf/{$theme}/js/html5shiv.js"></script>
        <script src="__PUBLIC__/csf/{$theme}/js/respond.min.js"></script>
        <![endif]-->
        <link rel="stylesheet" type="text/css" href="__PUBLIC__/csf/webupload/webuploader.css">
        <script src="__PUBLIC__/csf/{$theme}/js/jquery-1.10.2.min.js"></script>
        <script src="__PUBLIC__/csf/js/jquery.js"></script>
        <script type="text/javascript" src="__PUBLIC__/csf/webupload/webuploader.js"></script>
        <script src="__PUBLIC__/csf//ueditor/ueditor.config.js"></script>
    <script src="__PUBLIC__/csf/ueditor/ueditor.all.js"></script>

    </head>
    <body class="sticky-header">
        <!-- left side start-->
    <div class="left-side sticky-left-side">

        <!--logo and iconic logo start-->
        <div class="logo">
            <a href="index.html"><img src="__PUBLIC__/csf/{$theme}/images/logo.png" alt=""></a>
        </div>

        <div class="logo-icon text-center">
            <a href="index.html"><img src="__PUBLIC__/csf/{$theme}/images/logo_icon.png" alt=""></a>
        </div>
        <!--logo and iconic logo end-->


        <div class="left-side-inner">

            <!-- visible to small devices only -->
            <div class="visible-xs hidden-sm hidden-md hidden-lg">
                <div class="media logged-user">
                    <img alt="" src="__PUBLIC__/csf/{$theme}/images/photos/user-avatar.png" class="media-object">
                    <div class="media-body">
                        <h4><a href="#">John Doe</a></h4>
                        <span>"Hello There..."</span>
                    </div>
                </div>

                <h5 class="left-nav-title">Account Information</h5>
                <ul class="nav nav-pills nav-stacked custom-nav">
                    <li><a href="#"><i class="fa fa-user"></i> <span>Profile</span></a></li>
                    <li><a href="#"><i class="fa fa-cog"></i> <span>Settings</span></a></li>
                    <li><a href="#"><i class="fa fa-sign-out"></i> <span>Sign Out</span></a></li>
                </ul>
            </div>

            <!--sidebar nav start-->
            <ul class="nav nav-pills nav-stacked custom-nav">
                <foreach name="menuList" item="menu">
                    <if condition="in_array(strtoupper($menu['url']),$displayNodes)">
                        <empty name="menu.sub">
                            <li><a href="<?php echo U($menu['url']); ?>"><i class="fa {$menu.icon}"></i> <span>{$menu.name}</span>
                        <else />
                            <if condition="$AM eq $menu['url']">
                            <li class="menu-list nav-active"><a href=""><i class="fa {$menu.icon}"></i> <span>{$menu.name}</span></a>
                            <else />
                            <li class="menu-list"><a href=""><i class="fa {$menu.icon}"></i> <span>{$menu.name}</span></a>
                            </if>
                                <ul class="sub-menu-list">
                                <foreach name="menu.sub" item="subMenu">
                                    <if condition="in_array(strtoupper($subMenu['url']),$displayNodes)">
                                        <li ><a href="<?php echo U($subMenu['url']); ?>"> {$subMenu.name}</a></li>
                                    </if>
                                </foreach>
                                </ul>
                            </li>
                        </empty> 
                    </if>
                </foreach>
            </ul>
            <!--sidebar nav end-->

        </div>
    </div>
    <!-- left side end-->
    <!-- main content start-->
    <div class="main-content" >

        <!-- header section start-->
        <div class="header-section">

            <!--toggle button start-->
            <a class="toggle-btn"><i class="fa fa-bars"></i></a>
            <!--toggle button end-->

            <!--search start-->
            <form class="searchform" action="index.html" method="post">
                <input type="text" class="form-control" name="keyword" placeholder="Search here..." />
            </form>
            <!--search end-->
            <!--notification menu start -->
            <div class="menu-right">
                <ul class="notification-menu">
                    <li>
                        <a href="#" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
                            <img src="__PUBLIC__/csf/{$theme}/images/photos/user-avatar.png" alt="" />
                            {$Think.session.USER_AUTH_NAME}
                            <span class="caret"></span>
                        </a>
                        <ul class="dropdown-menu dropdown-menu-usermenu pull-right">
                            <li><a href="#"><i class="fa fa-user"></i>  Profile</a></li>
                            <li><a href="#"><i class="fa fa-cog"></i>  设置</a></li>
                            <li><a href="/xinanshop/admin/login/loginout"><i class="fa fa-sign-out"></i> 退出</a></li>
                        </ul>
                    </li>

                </ul>
            </div>
            <!--notification menu end -->

        </div>
        <!-- header section end-->